package com.jingdianjichi.auth.domin.convert;


import com.jingdianjichi.auth.domin.entity.AuthPermissionBO;
import com.jingdianjichi.auth.infra.baisc.entity.AuthPermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface AuthPermissionBOConverter {


    AuthPermissionBOConverter INSTANCE = Mappers.getMapper(AuthPermissionBOConverter.class);

    AuthPermission convertBOToEntity(AuthPermissionBO authPermissionBO);

    List<AuthPermissionBO> convertEntityListToBOList(List<AuthPermission> authPermissionList);

    List<AuthPermission> convertBOListToEntityList(List<AuthPermissionBO> authPermissionBOList);
}